home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
ctlib100.zip
/
INSTALL.LZH
/
CTTYPES.INT
< prev
next >
Wrap
Text File
|
1996-10-12
|
4KB
|
125 lines
{**************************************************************************}
{* BitSoft Development, L.L.C. *}
{* Copyright (C) 1995, 1996 BitSoft Development, L.L.C. *}
{* All rights reserved. *}
{* Containers Library types and constants unit *}
{* Version 1.1.7 *}
{**************************************************************************}
unit ctTypes;
interface
const
MaxFieldName = 30;
const
idStdArray = 20250;
idStreamStdArray = Succ(idStdArray);
idEmsStdArray = Succ(idStreamStdArray);
idStreamStdObjectArray = Succ(idEmsStdArray);
idEmsStdObjectArray = Succ(idStreamStdObjectArray);
idStreamObjectArray = Succ(idEmsStdObjectArray);
idEmsObjectArray = Succ(idStreamObjectArray);
const
idStreamCollection = Succ(idEmsObjectArray);
idEmsCollection = Succ(idStreamCollection);
idStreamUnSortedStrCollection = Succ(idEmsCollection);
idEmsUnSortedStrCollection = Succ(idStreamUnSortedStrCollection);
idStreamSortedCollection = Succ(idEmsUnSortedStrCollection);
idEmsSortedCollection = Succ(idStreamSortedCollection);
idStreamStringCollection = Succ(idEmsSortedCollection);
idEmsStringCollection = Succ(idStreamStringCollection);
const
idList = Succ(idEmsStringCollection);
idSortedList = Succ(idList);
idStringListNode = Succ(idSortedList);
idStringDoubleNode = Succ(idStringListNode);
const
idArrayStack = Succ(idStringDoubleNode);
idStreamStack = Succ(idArrayStack);
idEmsStack = Succ(idStreamStack);
idLinkedStack = Succ(idEmsStack);
const
idQueue = Succ(idLinkedStack);
idDoubleEndedQueue = Succ(idQueue);
const
idBinaryTree = Succ(idDoubleEndedQueue);
idAVLTree = Succ(idBinaryTree);
idStringBinaryNode = Succ(idAVLTree);
idStringAVLNode = Succ(idStringBinaryNode);
const
idField = Succ(idStringAVLNode);
idFieldStructure = Succ(idField);
const
idImsScrollBar = Succ(idFieldStructure);
idImsListViewer = Succ(idImsScrollBar);
idSequenceListBox = Succ(idImsListViewer);
idSortedSequenceListBox = Succ(idSequenceListBox);
const
idCollectionStack = Succ(idSortedSequenceListBox);
const
idHugeCollection = Succ(idCollectionStack);
idHugeSortedCollection = Succ(idHugeCollection);
idHugeStringCollection = Succ(idHugeSortedCollection);
idHugeUnSortedStrCollection = Succ(idHugeStringCollection);
const
idSortedStdArray = Succ(idHugeUnSortedStrCollection);
idStdObjectArray = Succ(idSortedStdArray);
idSortedStdObjectArray = Succ(idStdObjectArray);
idHugeArray = Succ(idSortedStdObjectArray);
idSortedHugeArray = Succ(idHugeArray);
idHugeObjectArray = Succ(idSortedHugeArray);
idSortedHugeObjectArray = Succ(idHugeObjectArray);
idResizableStdArray = Succ(idSortedHugeObjectArray);
idResizableStdObjectArray = Succ(idResizableStdArray);
idResizableHugeArray = Succ(idResizableStdObjectArray);
idResizableHugeObjectArray = Succ(idResizableHugeArray);
const
idHugeCollectionStack = Succ(idResizableHugeObjectArray);
idHugeArrayStack = Succ(idHugeCollectionStack);
const
idDoubleList = Succ(idHugeArrayStack);
idSortedDoubleList = Succ(idDoubleList);
type
PFieldName = ^TFieldName;
{$ifdef Windows}
TFieldName = array[0..MaxFieldName] of Char;
{$else}
TFieldName = string[MaxFieldName];
{$endif Windows}
type
PMemBlockInfo = ^TMemBlockInfo;
TMemBlockInfo = record
MemBlock : Pointer;
Size : LongInt;
end;
type
PParentNode = ^TParentNode;
TParentNode = record
ID : LongInt;
ChildIndex : LongInt;
end;
const
PointerSize = SizeOf(Pointer);
implementation
end.